package cn.changeforyou.web.nutz.common.exception;

/**
 * @author zhyu
 * @date 2021/3/19 18:07
 */
public class Asserts {

    public static void fail(String errorMsg) {
        throw new ApiException(errorMsg);
    }

    public static void fail() {
        throw new ApiException("操作错误");
    }
}
